<template>
  <div>
    <h1>路由的使用</h1>
    <hr>
    <RouterLink to="/">首页</RouterLink> |
    <RouterLink to="/about">关于我们</RouterLink> |
    <RouterLink to="/news">新闻</RouterLink>
    <hr>
    <RouterView></RouterView>
  </div>
</template>

<script>
import { RouterLink, RouterView } from 'vue-router';

  export default {
    
  }
</script>

<style lang="scss" scoped>

</style>